package guda.house.biz.beans.vo;

import guda.house.dal.dataobject.BillElecDO;
import guda.house.dal.dataobject.BillWaterDO;

/**
 * Created by well on 16/2/24.
 */
public class BillWaterElecVO {

    private Long billId;
    private Long suiteId;

    private Integer isPayed;

    private Long payTotal;


    private Long discountEstate;
    private Long discountSelf;
    private Long discount;


    public BillWaterElecVO(){

    }

    public BillWaterElecVO(BillWaterDO billWaterDO){
        if(billWaterDO == null){
            return;
        }
        setBillId(billWaterDO.getBillId());
        setSuiteId(billWaterDO.getSuiteId());
        setIsPayed(billWaterDO.getIsPayed());
        setPayTotal(billWaterDO.getPayTotal());
        setDiscountEstate(billWaterDO.getDiscountEstate());
        setDiscount(billWaterDO.getDiscount());
        setDiscountSelf(billWaterDO.getDiscountSelf());
    }


    public BillWaterElecVO(BillElecDO billElecDO){
        if(billElecDO == null){
            return;
        }
        setBillId(billElecDO.getBillId());
        setSuiteId(billElecDO.getSuiteId());
        setIsPayed(billElecDO.getIsPayed());
        setPayTotal(billElecDO.getPayTotal());
        setDiscountEstate(billElecDO.getDiscountEstate());
        setDiscount(billElecDO.getDiscount());
        setDiscountSelf(billElecDO.getDiscountSelf());
    }



    public Long getBillId() {
        return billId;
    }

    public void setBillId(Long billId) {
        this.billId = billId;
    }

    public Long getSuiteId() {
        return suiteId;
    }

    public void setSuiteId(Long suiteId) {
        this.suiteId = suiteId;
    }

    public Integer getIsPayed() {
        return isPayed;
    }

    public void setIsPayed(Integer isPayed) {
        this.isPayed = isPayed;
    }

    public Long getPayTotal() {
        return payTotal;
    }

    public void setPayTotal(Long payTotal) {
        this.payTotal = payTotal;
    }

    public Long getDiscountEstate() {
        return discountEstate;
    }

    public void setDiscountEstate(Long discountEstate) {
        this.discountEstate = discountEstate;
    }

    public Long getDiscountSelf() {
        return discountSelf;
    }

    public void setDiscountSelf(Long discountSelf) {
        this.discountSelf = discountSelf;
    }

    public Long getDiscount() {
        return discount;
    }

    public void setDiscount(Long discount) {
        this.discount = discount;
    }
}
